package com.jzlin.funhub.admin.model.resp;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 站内私信对话.
 *
 * @author linjz
 * @since 2025/8/26
 */
@Data
public class SysMessageSessionChatResp {
    @ApiModelProperty("会话id")
    private Long sessionId;

    @ApiModelProperty("对话用户")
    private SysMessageSessionUser toUser;

    @ApiModelProperty("对话消息列表")
    private List<SysMessageResp> messageList;

    @Data
    public static class SysMessageSessionUser {
        @ApiModelProperty("用户id")
        private Long userId;

        @ApiModelProperty("用户名称")
        private String userName;

        @ApiModelProperty("用户头像")
        private String userAvatar;
    }
}
